var _={
	title:'hello',
	post:function(url,json,func){
		 $.post(url,json,func,'json');
	},
    tips:function(content,thiss,time,bgcolor){
    	   layer.tips(content,thiss, {
              tips: [2,bgcolor],
              tipsMore: true,
              time:time,
			       area:['auto','auto']
           }); 	
        },
    msg:function(content,icon,time){
    	layer.msg(content,{icon:icon,time:time});
    },
    confirm:function(content,title,btn1,btn2){
    	layer.confirm(content,{title:title,btn:['确认','取消'],btn1:btn1,btn2:btn2});
    },
    open:function(title,content,width,height,btn1,btn2){
    	layer.open({type:1,title:title,content:content,maxmin:true,area:[width+'px', height+'px'],anim:4,btn:['编辑','取消'],btn1:btn1,btn2:btn2});
    },
    opensave:function(title,content,width,height,btn,btn1,btn2){
    	layer.open({type:1,title:title,content:content,maxmin:true,area:[width+'px', height+'px'],anim:4,btn:btn,btn1:btn1,btn2:btn2});
    }
}